wpforo\classes\Forums D

Total Complexity 327
Dependencies 0
Dependents 2
Total lines 1,282
Lines of code 1,019
Logical lines of code 668
Comment lines 73
Methods 53
Properties 1

Methods 53

Method Rating Maintainability Complexity Lines of code
forum_list()
D
29
38 111
edit()
C
34 24 83
permissions()
C
45 26 32
get_forums()
B
35 22 76
add()
B
36 19 75
_get_forum()
B
42 17 46
tree()
A
44 16 37
update_hierarchy()
A
48 12 30
merge()
A
48 11 29
get_layout()
A
47 10 35
rebuild_last_infos()
A
44 8 47
children()
A
56 8 17
parentid()
S
62 8 9
delete()
S
57 6 15
unique_slug()
S
57 6 14
after_add_usergroup()
S
59 6 14
dropdown()
S
58 6 13
get_parents()
S
54 5 22
rebuild_stats()
S
56 5 16
get_forum_url()
S
60 5 14
search()
S
54 4 21
count_depth()
S
57 4 18
get_parent_forumids_static()
S
58 4 17
private_forum()
S
67 5 7
get_count()
S
63 4 9
get_childs()
S
62 3 11
__get_parents_mysql8()
S
57 2 19
__get_childs()
S
57 2 18
__get_childs_mysql8()
S
58 2 17
after_add_topic()
S
70 3 6
after_delete_topic()
S
70 3 6
__delete()
S
62 3 10
get_counts()
S
61 2 11
after_topic_status_update()
S
70 2 6
topic_private_update()
S
70 2 6
after_add_post()
S
70 2 6
after_delete_post()
S
70 2 6
_get_forumids()
S
70 2 5
get_cache()
S
78 2 3
get_lastinfo()
S
65 2 8
after_post_status_update()
S
70 2 6
init_hooks()
S
59 1 13
__count_depth_mysql8()
S
63 1 12
forums()
S
75 1 4
delete_tree_cache()
S
78 1 3
get_forumids()
S
78 1 3
get_child_forums()
S
66 1 8
after_merge_forum()
S
77 1 4
get_forum()
S
78 1 3
after_merge_topic()
S
71 1 6
after_move_topic()
S
71 1 6
reset()
S
78 1 3
__construct()
S
82 1 3